//
//  NetworkStatusMonitorManager.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/30.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import <Foundation/Foundation.h>

//
#import <AFNetworking.h>

NS_ASSUME_NONNULL_BEGIN

/**
 网络状态发生变化时的通知 根据需要自行监听  statuts 从reachabilityManager里面取
 */
extern NSString *const NetworkReachabilityStatusChangedNotification;

/**
 网络状态的监控类
 */
@interface NetworkStatusMonitorManager : NSObject

+ (instancetype)sharedMonitor;

/**
 * AFNetworkReachabilityManager
 */
@property (nonatomic, strong, readonly) AFNetworkReachabilityManager *reachabilityManager;


/**
 Starts monitoring for changes in network reachability status.
 */
- (void)startMonitoring;

/**
 Stops monitoring for changes in network reachability status.
 */
- (void)stopMonitoring;

@end

NS_ASSUME_NONNULL_END
